using System;
using System.Collections.Generic;
using System.Text;

namespace Acms.Bll
{
    public partial class Page
    {
        private PageCollection _pages;
        public PageCollection Pages
        {
            get
            {
                if (_pages == null && this.Id > 0)
                {
                    _pages = PageCollection.GetByParent(this);
                }
                return _pages;
            }
        }
    }
}
